package com.lfs.feishu.domain.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class BatchSendRequest {

    @JsonProperty("open_ids")
    private List<String> openIds;

    @JsonProperty("department_ids")
    private List<String> departmentIds;

    @JsonProperty("user_ids")
    private List<String> userIds;

    @JsonProperty("union_ids")
    private List<String> unionIds;

    private String url;

    private String sign;

    private String timestamp;

    /**
     * 模板中使用的变量
     */
    @JsonProperty("template_variables")
    private Map<String, Object> templateVariables;
}
